<!DOCTYPE html>
<html lang="<%= t("sufia.document_language", default: '') %>">
<head><%= render 'layouts/head_tag_content' %></head>
<body>
<a href="#skip_to_content" class="sr-only">Skip to Content</a>
<%= render '/masthead' %>
<%= render '/controls' %>
<%= render '/flash_msg' %>

<div id="content-wrapper" class="container dashboard" role="main">
  <% if content_for?(:page_header) %>
    <div class="row">
      <div class="col-xs-12 main-header">
        <div class="row">
          <%= yield(:page_header) %>
        </div>
      </div>
    </div>
  <% end %>
  <a name="skip_to_content"></a>
  <div class="row">
  <% if content_for?(:sidebar) %>
      <div class="col-xs-12 col-sm-9 col-sm-push-3"><%= yield %></div>
      <div id="sidebar" class="col-xs-12 col-sm-3 col-sm-pull-9"><%= yield :sidebar %></div>
    <% else %>
      <div class="col-xs-12">
        <%= yield %>
      </div>
    <% end %>
  </div>
</div>

<%= render 'shared/footer' %>
<%= render 'shared/ajax_modal' %>
</body>
</html>
